package top.alanshelby.mybatis.dao;


import org.apache.ibatis.annotations.Param;
import top.alanshelby.mybatis.bean.Dept;

import java.util.List;
import java.util.Map;

public interface DeptMapper {

    List<Dept> findList1(Dept dept);

    List<Dept> findList2(Dept dept);

    void update(Dept dept);

    List<Dept> findList3(Dept dept);

    void insertBatch(List<Dept> deptList);

    List<Dept> findList4(List<Integer> deptnoList);

    List<Dept> findList5(int[] deptnos);

    List<Dept> findList6(@Param("myMap") Map<String, Integer> map);

}

